//存储token
export const setToken = (data) => {
    localStorage.setItem("TOKEN", data);
};
//获取token
export const getToken = () => {
    return localStorage.getItem("TOKEN");
};
//退出登录,清除token
export const removeToken = () => {
    localStorage.removeItem("TOKEN");
}
